import {isEmpty} from "lodash-es";

class GlobalHelper {

    values = {};

    constructor() {

        if(!isEmpty(window.globalHIns)) {
            return window.globalHIns;
        }

        window.globalHIns = this;
    }

    setValues(values) {
        this.values = values;
    }
}

export default new GlobalHelper();
